package org.jaaksi.kottlindemo.delegate

// 被委托对象，本场景中的游戏代练
class RealGamePlayer(private val name: String) : IGamePlayer {
  override fun rank() {
    println("$name 开始排位赛")
  }

  override fun upgrade() {
    println("$name 升级了")
  }

}